<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>文字粗细</title>
    <style>
      .div {
        font-size: 100px;
      }

      .atguigu1 {
        font-weight: lighter;
      }

      .atguigu2 {
        font-weight: normal;
      }

      .atguigu3 {
        font-weight: bold;
      }

      .atguigu4 {
        font-weight: 700;
      }
    </style>
  </head>
  <body>
    <div class="atguigu1">尚硅谷1</div>
    <div class="atguigu2">尚硅谷2</div>
    <div class="atguigu3">尚硅谷3</div>
    <div class="atguigu4">尚硅谷4</div>
  </body>
</html>
